package com.fauks.ssm.springbyanno.config;

import com.fauks.ssm.springbyanno.bean.Cat;
import org.springframework.context.annotation.Bean;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;

/*@PropertySource("classpath:prop/cat.properties")
@Configuration
@ComponentScan(value = "com.fauks.ssm.springbyanno")*/
public class ValueConfig {
    public Cat cat() {
        return new Cat();
    }

    @Bean
    public PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
        return new PropertySourcesPlaceholderConfigurer();
    }
}
